@layout("/common/_container_org.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>学校管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <input type="hidden" id="orgId" value="${orgId}">
                        <div class="row">
                            <div class="col-lg-2 col-sm-3">
                                <div class="panel panel-default">
                                    <div class="panel-heading">组织机构</div>
                                    <div class="panel-body dept-tree">
                                        <ul id="areaTree" class="ztree"></ul>
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-10 col-sm-9" style="overflow: scroll">
                                <div class="row">
                                    <div class="col-lg-10 col-sm-9">
                                        <div class="row">
                                            <div class="col-lg-3 col-sm-8">
                                                <#NameCon id="userName" name="名称" />
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-2 col-sm-3">
                                        <div class="row">
                                            <div class="col-lg-12 col-sm-12">
                                                <#button name="搜索" icon="fa-search" clickFun="PtOrg.search()"/>
                                                <#button name="重置" icon="fa-repeat" clickFun="PtOrg.resetSearch()"
                                                space="true"/>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="hidden-xs" id="PtStudentTableToolbar" role="group">
                                    @if(shiro.hasPermission("/PtOrg/add")){
                                    <#button name="添加" icon="fa-plus" clickFun="PtOrg.openAddPtTeacher()"/>
                                    @}
                                    @if(shiro.hasPermission("/PtOrg/import")){
                                    <#button name="导入" icon="fa-cloud-download" clickFun="PtTeacher.import()"
                                    space="true"/>
                                    @}
                                    @if(shiro.hasPermission("/PtOrg/export")){
                                    <#button name="导出" icon="fa-cloud-upload" clickFun="PtTeacher.export()"  space="true"/>

                                    @}
                                    @if(shiro.hasPermission("/PtOrg/batchDelete")){
                                    <#button name="批量删除" icon="fa-remove" clickFun="PtTeacher.batchDelete()"  space="true"/>

                                    @}
                                    @if(shiro.hasPermission("/PtOrg/updateEnable")){
                                    <#button name="批量冻结" icon="fa-lock" clickFun="PtTeacher.updateEnable(0)"  space="true"/>

                                    @}
                                    @if(shiro.hasPermission("/PtOrg/updateEnable")){
                                    <#button name="批量启动" icon="fa-unlock" clickFun="PtTeacher.updateEnable(1)"  space="true"/>

                                    @}
                                </div>
                                <#table id="PtOrgTable"/>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/system/ptOrg/ptOrg.js"></script>
@}
